import request from '@/request/index.js'



export function login(code) {
	return request.get({
		url: `/api/user/getopenid?code=` + code,
	});
}
export function toWxLog(data) {
	return request.post({
		url: `/api/user/getWechatPhone`,
		data
	});
}